package com.inmobi.commons.thinICE.icedatacollector;

import com.inmobi.commons.thinICE.cellular.CellOperatorInfo;
import com.inmobi.commons.thinICE.location.LocationInfo;
import com.inmobi.commons.thinICE.wifi.WifiInfo;
import java.util.Calendar;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;

public final class Sample
{
  public CellOperatorInfo cellOperator;
  public WifiInfo connectedWifiAp;
  public HashMap<String, LocationInfo> lastKnownLocations;
  public String servingCellId;
  public long utc;
  public List<WifiInfo> visibleWifiAp;
  public int zoneOffset;

  Sample()
  {
    Calendar localCalendar = Calendar.getInstance();
    System.currentTimeMillis();
    this.utc = localCalendar.getTimeInMillis();
    this.zoneOffset = localCalendar.get(15);
  }

  public String toString()
  {
    StringBuilder localStringBuilder = new StringBuilder();
    localStringBuilder.append(getClass().getSimpleName()).append("[\n");
    localStringBuilder.append("-- utc: ").append(this.utc).append("\n");
    localStringBuilder.append("-- zoneOffset: ").append(this.zoneOffset).append("\n");
    localStringBuilder.append("-- cell operator: ").append(this.cellOperator).append("\n");
    localStringBuilder.append("-- current serving cell: ").append(this.servingCellId).append("\n");
    localStringBuilder.append("-- connected wifi access point: ").append(this.connectedWifiAp).append("\n");
    localStringBuilder.append("-- last known locations:");
    if (this.lastKnownLocations == null)
    {
      localStringBuilder.append(" null\n");
      localStringBuilder.append("-- visible wifi aps:");
      if (this.visibleWifiAp != null)
        break label237;
      localStringBuilder.append(" null\n");
    }
    while (true)
    {
      localStringBuilder.append("]");
      return localStringBuilder.toString();
      localStringBuilder.append("\n");
      Iterator localIterator1 = this.lastKnownLocations.values().iterator();
      while (localIterator1.hasNext())
      {
        LocationInfo localLocationInfo = (LocationInfo)localIterator1.next();
        localStringBuilder.append("   + ").append(localLocationInfo).append("\n");
      }
      break;
      label237: localStringBuilder.append("\n");
      Iterator localIterator2 = this.visibleWifiAp.iterator();
      while (localIterator2.hasNext())
      {
        WifiInfo localWifiInfo = (WifiInfo)localIterator2.next();
        localStringBuilder.append("   + ").append(localWifiInfo).append("\n");
      }
    }
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.inmobi.commons.thinICE.icedatacollector.Sample
 * JD-Core Version:    0.6.2
 */